﻿<%@ Page Title="" Language="C#" AutoEventWireup="true"
	CodeBehind="WebLinkEdit.aspx.cs" Inherits="SBACN.WebSite.Admin.WebLinkEdit" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title>内容编辑：友情链接</title>
	<link href="images/style.css" rel="stylesheet" type="text/css" />
	<link href="images/form.css" rel="stylesheet" type="text/css" />
	<script src="../js/jquery.js" type="text/javascript"></script>
	<script type="text/javascript">
		jQuery.noConflict();
		function SubChick() {
			var webname = jQuery("#<%= WebName.ClientID%>").val();
			if (webname == "") {
				alert("请填写网站名称。");
				return false;
			}
			var webaddr = jQuery("#<%= Addr.ClientID%>").val();
			if (webaddr == "") {
				alert("请填写网址。");
				return false;
			}
			return true;
		}
	</script>
</head>
<body>
	<form id="form1" runat="server">
	<center>
		<div id="contentDiv">
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-stroke2">
				<tr>
					<td colspan="2" class="form-title2">
						内容编辑：友情链接
					</td>
				</tr>
				<tr>
					<td width="16%" class="form-label-1">
						<span style="color: Red">*</span>网站名称：
			</td>
			<td width="84%" class="form-body-1">
				<asp:TextBox runat="server" ID="WebName" Width="90%"></asp:TextBox>
			</td>
		</tr>
		<tr>
			<td width="16%" class="form-label-1">
				<span style="color: Red">*</span>网址：
			</td>
			<td width="84%" class="form-body-1">
				<asp:TextBox runat="server" ID="Addr" Width="90%"></asp:TextBox>
			</td>
		</tr>
		<tr runat="server" id="cls">
			<td width="16%" class="form-label-1">
				分类：
			</td>
			<td width="84%" class="form-body-1">
				<asp:DropDownList runat="server" ID="list" Width="30%">
					<asp:ListItem Value="">--请选择--</asp:ListItem>
				</asp:DropDownList>
			</td>
		</tr>
		<tr>
			<td colspan="2"  class="form-body-1" style="text-align:center;">
				<asp:HiddenField runat="server" ID="HidID" />
				<asp:Button runat="server" Text="确定" CssClass="btnsearch" ID="Subbtn" OnClick="Subbtn_Click" OnClientClick="return SubChick();" />
				<input type="button" class="btnsearch" value="取消" onclick="window.close();" />
			</td>
		</tr>
	</table>
	</div>
	</center>
	</form>
</body>
</html>
